package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: admin
 * Date: 7/5/13
 * Time: 1:23 PM
 * To change this template use File | Settings | File Templates.
 */
public class MembershipDetails {
    public void show_membership_details(int customer_number,CustomerDetails[] customerDetails)
    {
        if (customer_number == 0)
            System.out.println("Please talk to a librarian. Thank You!");

        if (customerDetails[customer_number].loggedIn_flag == true)
        {
            System.out.println(customerDetails[customer_number].customer_name+"\t"
                    + customerDetails[customer_number].customer_id+"\t"
                    + customerDetails[customer_number].phone_number+"\n");
        }
        else
            System.out.println("Please talk to a librarian. Thank You!");
    }
}
